home *** CD-ROM | disk | FTP | other *** search
/ Kyoko 8203 / Kyoko 8203.iso / pc / comic.dxr / 00031_é ê^ëÂ.ls < prev    next >
Encoding:
Text File  |  2003-03-03  |  648 b   |  36 lines

  1. global initminv, initmaxv
  2.  
  3. on mouseWithin
  4.   if the mouseV < 168 then
  5.     cursor([3, 4])
  6.     set the locV of sprite 3 to the locV of sprite 3 + 3
  7.     if the locV of sprite 3 > initminv then
  8.       set the locV of sprite 3 to initminv
  9.     end if
  10.   else
  11.     if the mouseV > 413 then
  12.       cursor([5, 6])
  13.       set the locV of sprite 3 to the locV of sprite 3 - 3
  14.       if the locV of sprite 3 < initmaxv then
  15.         set the locV of sprite 3 to initmaxv
  16.       end if
  17.     else
  18.       cursor([1, 2])
  19.     end if
  20.   end if
  21. end
  22.  
  23. on mouseUp
  24.   cursor(0)
  25.   go("SMALL")
  26.   updateStage()
  27. end
  28.  
  29. on mouseEnter me
  30.   cursor([1, 2])
  31. end
  32.  
  33. on mouseLeave me
  34.   cursor(0)
  35. end
  36.